/*
 * Copyright (c) 2014, ShiXiaoyong. All rights reserved.
 */


import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.dubbo.iservice.ITest;

/**
 * <pre>
 * Demo
 * </pre>
 * 
 * @author Shixy
 * @date 2016年1月5日
 * @since 1.0
 */
public class ClientDemo {

	public static void main(String[] args) {
		ApplicationContext applicationContext = new ClassPathXmlApplicationContext(new String[] { "classpath*:config/applicationContext-commons.xml" });
		ITest	 test = (ITest) applicationContext.getBean("springservice");
		test.sayHello("abcdefg");
		while(true);
	}

}
